package com.hema.auction.bean;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;

/**
 * author by john
 */

public class BidRecordInfo {


    /**
     * id : 5
     * user_id : 15
     * user_name : 哈哈哈哈
     * last_user_name : 哈哈哈哈
     * sale_id : 1
     * markup : 1
     * now_price : 2
     * create_at : 1500284912
     * status : 0
     * is_success : 0
     */

    @SerializedName("id")
    private String id;
    @SerializedName("user_id")
    private String userId;
    @SerializedName("user_name")
    private String userName;
    @SerializedName("last_user_name")
    private String lastUserName;
    @SerializedName("sale_id")
    private String saleId;
    @SerializedName("markup")
    private String markup;
    @SerializedName("now_price")
    private String nowPrice;
    @SerializedName("create_at")
    private String createAt;
    @SerializedName("status")
    private String status;
    @SerializedName("is_success")
    private String isSuccess;

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    @SerializedName("city_name")

    private String cityName;

    public static BidRecordInfo objectFromData(String str) {

        return new Gson().fromJson(str, BidRecordInfo.class);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLastUserName() {
        return lastUserName;
    }

    public void setLastUserName(String lastUserName) {
        this.lastUserName = lastUserName;
    }

    public String getSaleId() {
        return saleId;
    }

    public void setSaleId(String saleId) {
        this.saleId = saleId;
    }

    public String getMarkup() {
        return markup;
    }

    public void setMarkup(String markup) {
        this.markup = markup;
    }

    public String getNowPrice() {
        return nowPrice;
    }

    public void setNowPrice(String nowPrice) {
        this.nowPrice = nowPrice;
    }

    public String getCreateAt() {
        return createAt;
    }

    public void setCreateAt(String createAt) {
        this.createAt = createAt;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIsSuccess() {
        return isSuccess;
    }

    public void setIsSuccess(String isSuccess) {
        this.isSuccess = isSuccess;
    }
}
